package com.goktech.olala.core.service;

import com.github.pagehelper.PageInfo;
import com.goktech.olala.server.pojo.comment.Comment;

import java.util.List;

public interface ICommentService {

    //查询所有评论
    PageInfo<Comment> queryAllComment(int pageIndex, int pageSize, Comment comment) throws Exception;

    //删除对应的评论
    int removeCommentById(Long commentId) throws Exception;

    //查询意见反馈
    PageInfo<Comment> queryAdvices(int pageIndex, int pageSize, Comment comment) throws Exception;

    List<Comment> SelectDetailAndCommentById(String customerId) throws Exception;
}
